import request from '@/utils/request'

export function getPictureCategoryList(params) {
  return request({
    url: process.env.ADMIN_API + '/pictureCategory/getList',
    method: 'post',
    data: params
  })
}

export function addPictureCategory(params) {
  return request({
    url: process.env.ADMIN_API + '/pictureCategory/add',
    method: 'post',
    data: params
  })
}

export function editPictureCategory(params) {
  return request({
    url: process.env.ADMIN_API + '/pictureCategory/edit',
    method: 'post',
    data: params
  })
}

export function deletePictureCategory(params) {
  return request({
    url: process.env.ADMIN_API + '/pictureCategory/delete',
    method: 'post',
    data: params
  })
}

export function stickPictureCategory(params) {
  return request({
    url: process.env.ADMIN_API + '/pictureCategory/stick',
    method: 'post',
    data: params
  })
}

export function getPictureCategoryByUid(params) {
  return request({
    url: process.env.ADMIN_API + '/pictureCategory/getPictureCategoryByUid',
    method: 'post',
    data: params
  })
}
